package com.health.income.remote.feign;

import com.health.common.core.constant.ServiceNameConstants;
import com.health.common.core.domain.R;
import com.health.common.domain.Department;
import com.health.common.domain.PmsMedic;
import com.health.income.remote.feign.factory.RemoteIncomeFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * 文件服务
 *
 * @author ruoyi
 */
@FeignClient(value = "health-income",contextId = "PmsSkuSaleAttrValueRemote",fallbackFactory = RemoteIncomeFallbackFactory.class)
public interface RemoteIncomeService {
    // 获取科室列表
    @GetMapping(value = "/department/getDepartment")
    public R<List<Department>> getDepartment();

    /**
     * 医生列表
     */
    @PostMapping("/symptomTags/getMedicList")
    public R<List<PmsMedic>> getMedicList(@RequestBody PmsMedic pmsMedic);
}
